package com.ruoyi.web.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.web.mapper.WebAboutDataMapper;
import com.ruoyi.web.domain.WebAboutData;
import com.ruoyi.web.service.IWebAboutDataService;

/**
 * 关于我们模块Service业务层处理
 * 
 * @author li
 * @date 2025-07-28
 */
@Service
public class WebAboutDataServiceImpl implements IWebAboutDataService 
{
    @Autowired
    private WebAboutDataMapper webAboutDataMapper;

    /**
     * 查询关于我们模块
     * 
     * @param id 关于我们模块主键
     * @return 关于我们模块
     */
    @Override
    public WebAboutData selectWebAboutDataById(Long id)
    {
        return webAboutDataMapper.selectWebAboutDataById(id);
    }

    /**
     * 查询关于我们模块列表
     * 
     * @param webAboutData 关于我们模块
     * @return 关于我们模块
     */
    @Override
    public List<WebAboutData> selectWebAboutDataList(WebAboutData webAboutData)
    {
        return webAboutDataMapper.selectWebAboutDataList(webAboutData);
    }

    /**
     * 新增关于我们模块
     * 
     * @param webAboutData 关于我们模块
     * @return 结果
     */
    @Override
    public int insertWebAboutData(WebAboutData webAboutData)
    {
        return webAboutDataMapper.insertWebAboutData(webAboutData);
    }

    /**
     * 修改关于我们模块
     * 
     * @param webAboutData 关于我们模块
     * @return 结果
     */
    @Override
    public int updateWebAboutData(WebAboutData webAboutData)
    {
        return webAboutDataMapper.updateWebAboutData(webAboutData);
    }

    /**
     * 批量删除关于我们模块
     * 
     * @param ids 需要删除的关于我们模块主键
     * @return 结果
     */
    @Override
    public int deleteWebAboutDataByIds(Long[] ids)
    {
        return webAboutDataMapper.deleteWebAboutDataByIds(ids);
    }

    /**
     * 删除关于我们模块信息
     * 
     * @param id 关于我们模块主键
     * @return 结果
     */
    @Override
    public int deleteWebAboutDataById(Long id)
    {
        return webAboutDataMapper.deleteWebAboutDataById(id);
    }
}
